Do not use AC_CANONICAL_TARGET
authorHib Eris <hib@hiberis.nl>
Mon, 1 Apr 2013 10:35:18 +0000 (12:35 +0200)
committerHib Eris <hib@hiberis.nl>
Sun, 2 Jun 2013 09:03:08 +0000 (11:03 +0200)
Reverts commit 717c28e12daff5ae9fcb01b45cd1daf13609cddb and
fixes AX_PROG_CC_FOR_BUILD (see also
http://savannah.gnu.org/patch/index.php?7989).

https://bugzilla.gnome.org/show_bug.cgi?id=692638

configure.ac
m4/ax_prog_cc_for_build.m4

index 19d1b56704d5e23433c8797d3433c781135b248a..997fbb250060b09d2ad65f64654ca541e5a3b1fb 100644 (file)
@@ -30,7 +30,6 @@ AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([build-aux])
 
 AC_CANONICAL_HOST
-AC_CANONICAL_TARGET
 
 # Define a string for the earliest version that this release has
 # backwards binary compatibility with for all interfaces a module
index c2adede872a0dd2db9b225872b41c82bc3f214be..21256bf25bc733cce286fe7a24e08fdb874cb00e 100644 (file)
@@ -39,7 +39,7 @@ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
 AC_REQUIRE([AC_PROG_CC])dnl
 AC_REQUIRE([AC_PROG_CPP])dnl
 AC_REQUIRE([AC_EXEEXT])dnl
-AC_REQUIRE([AC_CANONICAL_SYSTEM])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
 dnl Use the standard macros, but make them use other variable names
 dnl